package com.suzj.extraenchantments.enchant.Ench_02;

import com.suzj.extraenchantments.Config;

import com.suzj.extraenchantments.enchant.EquipmentSlotTypeSet;
import net.minecraft.world.item.enchantment.Enchantment;
import net.minecraft.world.item.enchantment.EnchantmentCategory;


public class EnchantmentTheLamb extends Enchantment {
    public EnchantmentTheLamb() {
        super(Enchantment.Rarity.RARE, EnchantmentCategory.ARMOR, EquipmentSlotTypeSet.ARMORS);
    }

    public int getMaxLevel() {
        if (((Boolean) Config.SERVER.isTheLamb.get()).booleanValue()) {
            return 3;
        }
        return 0;
    }

    public int getMinCost(int enchantmentLevel) {
        return 40;
    }

    public int getMaxCost(int enchantmentLevel) {
        return 60;
    }
}